package com.rany.day08.demo07;

import java.util.ArrayList;
import java.util.Collections;

public class CollectionTest {
    public static void main(String[] args) {
        ArrayList<String> a = new ArrayList<>();
        Collections.addAll(a,"lin","lulu","hahahah");
        System.out.println(a);
        Collections.shuffle(a);
        System.out.println(a);
    }
}
